<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>项目详情</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <style>
        .project-title {
            font-size: 24px;
            color: #FF69B4;
            text-align: center;
            margin-top: 20px;
        }
        .project-des {
            margin: 20px;
            font-size: 16px;
            line-height: 1.5;
        }
        .project-infos {
            margin: 20px;
            font-size: 16px;
        }
        .group-members {
            margin: 20px;
            font-size: 16px;
        }
        .back-link {
            text-align: center;
            margin-top: 20px;
        }
        .back-link a {
            color: #FF69B4;
            text-decoration: none;
            font-size: 18px;
        }
    </style>
</head>
<body>
    <h2 class="project-title">${groupNumber}组 - ${project.title}</h2>
    <div class="project-des">
        <h3>项目描述：</h3>
        <p>${project.des}</p>
    </div>
    <div class="project-infos">
        <h3>涉及知识点：</h3>
        <ul>
            <c:forEach var="info" items="${project.infos}">
                <li>${info}</li>
            </c:forEach>
        </ul>
    </div>
    <div class="group-members">
        <h3>组员：</h3>
        <ul>
            <c:forEach var="student" items="${groupMembers}">
                <li>${student.name}，${student.studentId}</li>
            </c:forEach>
        </ul>
    </div>
    <div class="back-link">
        <a href="GroupServlet">返回分组结果</a>
    </div>
</body>
</html>
